import http from "@/utils/http";
export const getSwiperCategory = () => {
  return http({
    url: "/home/banner",
    method: "GET",
    data: {
      distributionSite: 2, // 1为首页图片  2为分类页图片
    },
  });
};
//获取一级分类
export const getCategoryTopAPI = () => {
  return http({
    method: "GET",
    url: "/category/top",
  });
};
